import { createPinia } from 'pinia'
import type { App } from 'vue'
const pinia = createPinia()
// 将app实例引入提前封装用use注册pinia和调用loadLocalCacheAction方法的工具导出后在main.ts中统一完成注册
function store(app: App<Element>) {
  // 工具中use的pinia
  app.use(pinia)
 
}
export default store
